Skip to content

feat: TelemetryLink wait handlers#7164

Open
ozanichkovsky wants to merge 3 commits intostackitcloud:mainfrom
ozanichkovsky:feature/telemetrylink-wait
Open

feat: TelemetryLink wait handlers#7164
ozanichkovsky wants to merge 3 commits intostackitcloud:mainfrom
ozanichkovsky:feature/telemetrylink-wait

Conversation

@ozanichkovsky
Copy link
Copy Markdown
Contributor

Description

TelemetryLink wait handlers

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs
    • Changelog in the root directory was adjusted (see here)
    • Changelog(s) of the service(s) were adjusted (see e.g. here)
  • VERSION file(s) of the service(s) were adjusted
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@ozanichkovsky ozanichkovsky requested a review from a team as a code owner May 6, 2026 13:41
@@ -1,5 +1,5 @@
## v0.2.1
- **Improvement**: Use new `WaiterHandler` struct in the DNS WaitHandler
- **Improvement**: Use new `WaiterHandler` struct in the TelemetryRouter WaitHandler
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong file (telemetrylink instead of router)

Comment thread CHANGELOG.md
- `telemetrylink`:
- [v0.1.0](services/telemetrylink/CHANGELOG.md#v010)
- **New**: API for STACKIT Telemetry Link
- [v0.1.1](services/telemetryrouter/CHANGELOG.md#v021)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here: telemetrylink and also the version is wrong

@@ -1,2 +1,5 @@
## v0.2.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version mismatch

createdOrgLink = createResp.Id

// Wait for the TelemetryLink to be ready
log.Printf("[TelemetryLink API] Waiting for organization TelemetryLink to be created.\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change the wording here. One log above it is said: created and here it is said: waiting for creation.
So I would be confused by looking at those messages during execution: Was it already created or is it still in progress?

log.Printf("[TelemetryLink API] Updated organization TelemetryLink.\n")

// Wait for the organization TelemetryLink to be updated
log.Printf("[TelemetryLink API] Waiting for organization TelemetryLink to be updated.\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

log.Printf("[TelemetryLink API] Partially updated organization TelemetryLink.\n")

// Wait for the organization TelemetryLink to be partiallyupdated
log.Printf("[TelemetryLink API] Waiting for organization TelemetryLink to be partially updated.\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

log.Printf("[TelemetryLink API] Organization TelemetryLink \"%s\" has been successfully deleted.\n", createdOrgLink)

// Wait for the organization TelemetryLink to be deleted
log.Printf("[TelemetryLink API] Waiting for organization TelemetryLink to be deleted.\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

createdFolderLink = createFolderResp.Id

// Wait for the Folder TelemetryLink to be ready
log.Printf("[TelemetryLink API] Waiting for folder TelemetryLink to be created.\n")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and following, won't comment the other occurrences :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants